package test.gradle;

import org.web3j.protocol.Web3j;
import org.web3j.protocol.http.HttpService;
 
/**
 * eclipse 配置gradle项目 详细教程
 * https://blog.csdn.net/forever_insist/article/details/85228930
 * gradle构建带三方依赖jar的普通项目
 * https://blog.csdn.net/feinifi/article/details/102833564
 * @author abc
 *
 */
public class Web3jApp {
	public static void main(String[] args) throws Exception {
		Web3j web3j = Web3j.build(new HttpService("https://blog.csdn.net/phoenix/web/v1/isCollect?articleId=85228930"));
		String v = web3j.web3ClientVersion().send().getWeb3ClientVersion();
		System.out.println(v);
	}
}
